//! \file backtracer_defs.h
//! \brief Some global backtrace defines

#ifndef _BACKTRACER_DEFS_H_
#define _BACKTRACER_DEFS_H_

//------------------------------------------------------------------------------

#include "errors.h"
#include "check.h"

//------------------------------------------------------------------------------

//! \brief Type for storing map_file_ptrs
typedef unsigned long addr_t;
typedef long word_t;

//! \brief Maximum length of stored name of functions from map files
#define func_name_length_ 128
typedef char name_t[func_name_length_];

#ifndef bool
typedef int bool;
#endif

#define false 0
#define true 1

//------------------------------------------------------------------------------

#endif //_BACKTRACER_DEFS_H_
